<?php
  error_reporting(0);

  $host="localhost";
  $username="root";
  $password="";
  $database="peer";
  
  $rhea = $_POST["rhea"];
  $jasmin = $_POST["jasmin"];
  $lester = $_POST["lester"];
  $janelle = $_POST["janelle"];
  $ailah = $_POST["ailah"];
  $june = $_POST["june"];
  $eli = $_POST["eli"];
  $tinn = $_POST["tinn"];

  $connection = mysql_connect("$host", "$username", "$password"); 
  mysql_select_db("$database")or die(mysql_error());
  
  $query = "INSERT INTO evaluation(rea, jas, les, jah, ail, jun, eli, tin) VALUES('$rhea', '$jasmin', '$lester', '$janelle', '$ailah', '$june', '$eli', '$tinn')";
  $result = mysql_query($query);
  header("location: evaluation.php");